--[[ proto_Shz.hrl ]]--

slg_cmd.Dtdb = {
    ["enter"]          = {85000, "s2c_bullet_enter"},   --进游戏
    ["leave"]          = {85002, "s2c_bullet_leave"},   --离开
	["toget"]          = {85001, "s2c_bullet_auto_hunt"}  --夺宝
}

---------------------------------------------------------
--进入
slg_protocol["c2s_bullet_enter"] = {

}
slg_protocol["s2c_bullet_enter"] = {
[1] = {name = "ret_code", type = "", unit = 1},
[2] = {name = "cd", type = "", unit = 1},
}

--离开
slg_protocol["c2s_bullet_leave"] = {

}
slg_protocol["s2c_bullet_leave"] = {
[1] = {name = "ret_code", type = "", unit = 1},
}

--奖励结果
slg_protocol["bullet_reward_info"] = {
[1] = {name = "id", type = "", unit = 1},
[2] = {name = "num", type = "", unit = 1},
}
--开放列表
-- slg_protocol["bullet_open_info"] = {
-- [1] = {name = "pos", type = "", unit = 1},
-- [2] = {name = "bullet_reward_info", type = "bullet_reward_info", unit = 2}
-- }
--夺宝
slg_protocol["c2s_bullet_auto_hunt"] = {
[1] = {name = "type", type = "", unit = 1}, -- 寻宝类型
}
slg_protocol["s2c_bullet_auto_hunt"] = {
[1] = {name = "ret_code", type = "", unit = 1},
[2] = {name = "power", type = "", unit = 1},  		 --当前体力
[3] = {name = "debug", type = "", unit = 1},
[4] = {name = "rewardList", type = "bullet_reward_info", unit = 2},
}

